<?php
if(in_array($controller, array("paymentAir"))){
    if($this->input->server('REQUEST_METHOD')=='POST' && $this->input->post('submit') == 'search'){
        $data = array(
            'air_booking_place_code'        =>  $this->input->post('air_booking_place_code'),
            'air_customersName'             =>  $this->input->post('air_customersName')
        );
        $this->session->set_userdata('air_paymentAir', json_encode($data));
    }
}